package com.dgut.lotterySystem.service;

import com.dgut.lotterySystem.controller.param.DrawPrizeParam;
import com.dgut.lotterySystem.controller.param.ShowWinningRecordsParam;
import com.dgut.lotterySystem.dao.dataObject.WinningRecordDO;
import com.dgut.lotterySystem.service.dto.ShowWinningRecordsDTO;

import java.util.List;

public interface IDrawPrize {

    void drawPrize(DrawPrizeParam param);
    Boolean checkDrawPrizeParam(DrawPrizeParam param);

    List<WinningRecordDO> saveWinningRecord(DrawPrizeParam param);

    void deleteRecords(Long activityId,Long prizeId);

    List<ShowWinningRecordsDTO> ShowWinningRecords(ShowWinningRecordsParam param);
}
